<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Default_Model_ComponentUsageMapper</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Default_Model_ComponentUsageMapper</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add your description here</p>
	<ul class="tags">
				<li><span class="field">author:</span> </li>
				<li><span class="field">copyright:</span> ZF model generator</li>
				<li><span class="field">license:</span> <a href="http://framework.zend.com/license/new-bsd">New BSD License</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_models---ComponentUsageMapper.php.html">/models/ComponentUsageMapper.php</a> (line <span class="field">12</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																								<div class="var-title">
					<span class="var-type"><a href="../default/Default_Model_DbTable_ComponentUsage.html">Default_Model_DbTable_ComponentUsage</a></span>
					<a href="#$_dbTable" title="details" class="var-name">$_dbTable</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																												
												<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#fetchAll" title="details" class="method-name">fetchAll</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#fetchList" title="details" class="method-name">fetchList</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$where</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$order</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$count</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#fetchListToArray" title="details" class="method-name">fetchListToArray</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$where</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$order</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$count</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#find" title="details" class="method-name">find</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"><a href="../default/Default_Model_ComponentUsage.html">Default_Model_ComponentUsage</a></span>&nbsp;<span class="var-name">$cls</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#findByField" title="details" class="method-name">findByField</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>, <span class="var-type"><a href="../default/Default_Model_ComponentUsage.html">Default_Model_ComponentUsage</a></span>&nbsp;<span class="var-name">$cls</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#findOneByField" title="details" class="method-name">findOneByField</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>, <span class="var-type"><a href="../default/Default_Model_ComponentUsage.html">Default_Model_ComponentUsage</a></span>&nbsp;<span class="var-name">$cls</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../default/Default_Model_DbTable_ComponentUsage.html">Default_Model_DbTable_ComponentUsage</a></span>
										<a href="#getDbTable" title="details" class="method-name">getDbTable</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getUsedComponentsInfo" title="details" class="method-name">getUsedComponentsInfo</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#save" title="details" class="method-name">save</a>
											(<span class="var-type"><a href="../default/Default_Model_ComponentUsage.html">Default_Model_ComponentUsage</a></span>&nbsp;<span class="var-name">$cls</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../default/Default_Model_ComponentUsageMapper.html">Default_Model_ComponentUsageMapper</a></span>
										<a href="#setDbTable" title="details" class="method-name">setDbTable</a>
											(<span class="var-type"><a href="../default/Default_Model_DbTable_ComponentUsage.html">Default_Model_DbTable_ComponentUsage</a></span>&nbsp;<span class="var-name">$dbTable</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#toArray" title="details" class="method-name">toArray</a>
											(<span class="var-type">new</span>&nbsp;<span class="var-name">$cls</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$_dbTable" id="$_dbTable"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../default/Default_Model_DbTable_ComponentUsage.html">Default_Model_DbTable_ComponentUsage</a></span>
			<span class="var-name">$_dbTable</span>
						(line <span class="line-number">19</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">$_dbTable - instance of Default_Model_DbTable_ComponentUsage</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodfetchAll" id="fetchAll"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">fetchAll</span> (line <span class="line-number">197</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">fetches all rows</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			fetchAll
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodfetchList" id="fetchList"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">fetchList</span> (line <span class="line-number">229</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">fetches all rows optionally filtered by where,order,count and offset</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			fetchList
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$where</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$order</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$count</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$where</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$order</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$count</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$offset</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfetchListToArray" id="fetchListToArray"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">fetchListToArray</span> (line <span class="line-number">262</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">fetches all rows optionally filtered by where,order,count and offset</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			fetchListToArray
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$where</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$order</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$count</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$where</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$order</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$count</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$offset</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfind" id="find"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">find</span> (line <span class="line-number">170</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">finds row by primary key</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			find
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"><a href="../default/Default_Model_ComponentUsage.html">Default_Model_ComponentUsage</a></span>&nbsp;<span class="var-name">$cls</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"><a href="../default/Default_Model_ComponentUsage.html">Default_Model_ComponentUsage</a></span>
				<span class="var-name">$cls</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfindByField" id="findByField"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">findByField</span> (line <span class="line-number">86</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">finds rows where $field equals $value</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			findByField
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>, <span class="var-type"><a href="../default/Default_Model_ComponentUsage.html">Default_Model_ComponentUsage</a></span>&nbsp;<span class="var-name">$cls</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$field</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span>			</li>
					<li>
				<span class="var-type"><a href="../default/Default_Model_ComponentUsage.html">Default_Model_ComponentUsage</a></span>
				<span class="var-name">$cls</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfindOneByField" id="findOneByField"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">findOneByField</span> (line <span class="line-number">28</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">finds a row where $field equals $value</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			findOneByField
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>, <span class="var-type"><a href="../default/Default_Model_ComponentUsage.html">Default_Model_ComponentUsage</a></span>&nbsp;<span class="var-name">$cls</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$field</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span>			</li>
					<li>
				<span class="var-type"><a href="../default/Default_Model_ComponentUsage.html">Default_Model_ComponentUsage</a></span>
				<span class="var-name">$cls</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetDbTable" id="getDbTable"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getDbTable</span> (line <span class="line-number">135</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">returns the dbTable class</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../default/Default_Model_DbTable_ComponentUsage.html">Default_Model_DbTable_ComponentUsage</a></span>
		<span class="method-name">
			getDbTable
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetUsedComponentsInfo" id="getUsedComponentsInfo"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getUsedComponentsInfo</span> (line <span class="line-number">268</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getUsedComponentsInfo
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsave" id="save"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">save</span> (line <span class="line-number">150</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">saves current row</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			save
		</span>
					(<span class="var-type"><a href="../default/Default_Model_ComponentUsage.html">Default_Model_ComponentUsage</a></span>&nbsp;<span class="var-name">$cls</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../default/Default_Model_ComponentUsage.html">Default_Model_ComponentUsage</a></span>
				<span class="var-name">$cls</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetDbTable" id="setDbTable"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setDbTable</span> (line <span class="line-number">118</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">sets the dbTable class</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../default/Default_Model_ComponentUsageMapper.html">Default_Model_ComponentUsageMapper</a></span>
		<span class="method-name">
			setDbTable
		</span>
					(<span class="var-type"><a href="../default/Default_Model_DbTable_ComponentUsage.html">Default_Model_DbTable_ComponentUsage</a></span>&nbsp;<span class="var-name">$dbTable</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../default/Default_Model_DbTable_ComponentUsage.html">Default_Model_DbTable_ComponentUsage</a></span>
				<span class="var-name">$dbTable</span>			</li>
				</ul>
		
			
	</div>
<a name="methodtoArray" id="toArray"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">toArray</span> (line <span class="line-number">59</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">returns an array, keys are the field names.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			toArray
		</span>
					(<span class="var-type">new</span>&nbsp;<span class="var-name">$cls</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">new</span>
				<span class="var-name">$cls</span><span class="var-description">: Default_Model_ComponentUsage $cls</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Fri, 30 Oct 2009 19:32:34 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>